﻿using System;
using UnityEngine;
using UnityEngine.EventSystems;

namespace Studio
{
	// Token: 0x020004BC RID: 1212
	public class GuideInputSender : MonoBehaviour, ISelectHandler, IDeselectHandler, IEventSystemHandler
	{
		// Token: 0x06001EC7 RID: 7879 RVA: 0x000C0D80 File Offset: 0x000BEF80
		public void OnDeselect(BaseEventData eventData)
		{
			if (this.guideInput)
			{
				this.guideInput.selectIndex = -1;
			}
		}

		// Token: 0x06001EC8 RID: 7880 RVA: 0x000C0DA0 File Offset: 0x000BEFA0
		public void OnSelect(BaseEventData eventData)
		{
			if (this.guideInput)
			{
				this.guideInput.selectIndex = this.index;
			}
		}

		// Token: 0x040020C0 RID: 8384
		[SerializeField]
		private GuideInput guideInput;

		// Token: 0x040020C1 RID: 8385
		[SerializeField]
		private int index;
	}
}
